package com.ruoyi.common.core.constant;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * www主域
     */
    public static final String WWW = "www.";

    /**
     * RMI 远程方法调用
     */
    public static final String LOOKUP_RMI = "rmi:";

    /**
     * LDAP 远程方法调用
     */
    public static final String LOOKUP_LDAP = "ldap:";

    /**
     * LDAPS 远程方法调用
     */
    public static final String LOOKUP_LDAPS = "ldaps:";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;

    /**
     * 登录成功状态
     */
    public static final String LOGIN_SUCCESS_STATUS = "0";

    /**
     * 登录失败状态
     */
    public static final String LOGIN_FAIL_STATUS = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * 验证码有效期（分钟）
     */
    public static final long CAPTCHA_EXPIRATION = 2;


    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";

    /**
     * 定时任务白名单配置（仅允许访问的包名，如其他需要可以自行添加）
     */
    public static final String[] JOB_WHITELIST_STR = {"com.ruoyi"};

    /**
     * 定时任务违规的字符
     */
    public static final String[] JOB_ERROR_STR = {"java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
            "org.springframework", "org.apache", "com.ruoyi.common.core.utils.file"};
    /**
     * 华云加密使用的常量
     */
    public static final String TEMPFILE = "";

    /**
     * 新疆营销业务应用系统
     */
    public static final String YXYWYXPT = "YXYWYXPT";

    /**
     * 新疆电费业务平台
     */
    public static final String YXDFYWPT = "YXDFYWPT";
    /**
     * 新疆营销普查系统
     */
    public static final String YXPCGLPT = "YXPCGLPT";

    /**
     * 营销档案管理系统
     */
    public static final String YXDAGLPT = "YXDAGLPT";

    /**
     * 营销档案管理系统
     */
    public static final String YXYCFKYWYYXT = "YXYCFKYWYYXT";

    /**
     * 用电信息采集系统
     */
    public static final String YDXXCJXT = "YDXXCJXT";

    /**
     * 营销现场作业平台
     */
    public static final String YXXCZYPT = "YXXCZYPT";

    /**
     * 营配数据共享平台
     */
    public static final String YPSJGXPT = "YPSJGXPT";
    /**
     * 新疆营销（运维在线服务平台）问题平台
     */
    public static final String YXWTPT = "YXWTPT";

    /**
     * 采集运维闭环管理平台
     */
    public static final String CJYWBHGLPT = "CJYWBHGLPT";
    /**
     * 反窃电监控模块
     */
    public static final String FQDJKMK = "FQDJKMK";


    /**热点链接 ========================================================================*/

    /**
     * 掌机补漏
     */
    public static final String ZJBL = "ZJBL";

    /**
     * 电价时段调整
     */
    public static final String DJSDTZ = "DJSDTZ";

    /**
     * 调结算日下载
     */
    public static final String TJSRXZ = "TJSRXZ";

    /**
     * 营销费控停复电指令查询
     */
    public static final String YXFKTFDZLCX = "YXFKTFDZLCX";

    /**
     * 营销远程充值失败明细
     */
    public static final String YXYCCZSBMX = "YXYCCZSBMX";

    /**
     * 营销远程充值下发监控
     */
    public static final String YXYCCZXFJK = "YXYCCZXFJK";

    /**
     * 用电信息采集系统：高级应用-线损分析
     */
    public static final String YCXSFX = "YCXSFX";

    /**
     * 用电信息采集系统：统计查询-抄表数据查询-选着抄表失败明细
     */
    public static final String YCCBSBMX = "YCCBSBMX";

    /**
     * 闭环采集监控分析-工单统一视图
     */
    public static final String BHGDSTJK = "BHGDSTJK";
    public static final String PMSPWYWYTHDDY = "PMSPWYWYTHDDY";
    public static final String PMSPWYWYTHZGZ = "PMSPWYWYTHZGZ";
}
